package cn.jhz.learn.blog.dao.photo;

import cn.jhz.learn.blog.po.photo.BlogAlbumSubfield;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BlogAlbumSubfieldMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BlogAlbumSubfield record);

    int insertSelective(BlogAlbumSubfield record);

    BlogAlbumSubfield selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogAlbumSubfield record);

    int updateByPrimaryKey(BlogAlbumSubfield record);

    /*自定义*/
    List<BlogAlbumSubfield> selectByBlogId(@Param("uid") Integer uid, @Param("blog_id") Integer blog_id);
}